<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="/Store/Public/Admin/js1/jquery-1.10.1.min.js"></script>
        <script type="text/javascript" src="/Store/Public/layer/layer.js"></script>

		<link href="/Store/Public/Admin/Loign/css/login.css" rel="stylesheet" type="text/css" />
	</head>
	   
<div class="login">
			<div class="login-head">
				<div class="login-head-a">
					<img src="/Store/Public/Admin/images/a.jpg" title="" alt=""/>
						<p>我的</p>
				</div>
				<div class="login-head-b">
					商户后台管理
				</div>
			</div>
			<div class="login-con">
				<div class="login-a">
					
                      <div class="login-b">
                      	<div class="login-b-a">用户登陆</div>
                      	<div class="login-b-b">
                      		<ul>
                      			<li>
                      				<label for="userName" >用户名：</label><input type="text" id="mobile" class="user" name="userName"/>
                      				<h1 id="m-tip"></h1>
                      			</li>
                      			<li>
                      				<label for="userName" > 邮&nbsp;&nbsp;&nbsp;箱：</label><input type="text" class="email" id="mobile" name="userName"/>
                      				<h1 id="m-tip"></h1>
                      			</li>
                      			<li class="login-x">
		                          <div class="login-x-a"><input type="submit" name="登录"value="登录"id="Button1" class="commit"/><div class="x"></div></div>

	                            </li>
                      			
                      		</ul>
                      	</div>
                      </div>
				</div>
			</div>
		</div>
 <script>
	$('.commit').click(function() {
		var name=$('.user').val();
        var email=$('.email').val();
        $.post("/Store/index.php/Admin/Index/login",{name:name,eamil:email},function(obj){
        	if(obj.pass==1) {
        		layer.msg(obj.msg);
        	}
        })
	})
 </script>
</body>    
</html>